package com.kadron.wall;

import com.kadron.paging.AbstractKRowParent;
import com.kadron.paging.ModelContainer;

public class CommentsHolder extends AbstractKRowParent {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1682630334177713631L;

	public CommentsHolder(ModelContainer dataModel, KCommentRowService rowService) {
		super(dataModel,rowService);
		long count = rowService.getCount(this);
		if (count > 0) {			
			rowService.getModels(this, 0, dataModel.getRecords()); //Initial search
		}
	}

	@Override
	public long getId() {
		throw new UnsupportedOperationException();
	}

}
